package com.axc.brilliant.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.axc.brilliant.dao.WechatTaskDao;
import com.axc.brilliant.domain.WechatTaskDO;
import com.axc.brilliant.service.WechatTaskService;



@Service
public class WechatTaskServiceImpl implements WechatTaskService {
	@Autowired
	private WechatTaskDao wechatTaskDao;
	
	@Override
	public WechatTaskDO get(String taskid){
		return wechatTaskDao.get(taskid);
	}
	
	@Override
	public List<WechatTaskDO> list(Map<String, Object> map){
		return wechatTaskDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return wechatTaskDao.count(map);
	}
	
	@Override
	public int save(WechatTaskDO wechatTask){
		return wechatTaskDao.save(wechatTask);
	}
	
	@Override
	public int update(WechatTaskDO wechatTask){
		return wechatTaskDao.update(wechatTask);
	}
	
	@Override
	public int remove(String taskid){
		return wechatTaskDao.remove(taskid);
	}
	
	@Override
	public int batchRemove(String[] taskids){
		return wechatTaskDao.batchRemove(taskids);
	}
	
	
	@Override
	public List<WechatTaskDO> PageLayUi_List_By_Query(WechatTaskDO query){
		return wechatTaskDao.PageLayUi_List_By_Query(query);
	}

	@Override
	public int total(WechatTaskDO query){
		return wechatTaskDao.total(query);
	}
			
	@Override
	public WechatTaskDO Get_Model_By_Query(WechatTaskDO query){
		return wechatTaskDao.Get_Model_By_Query(query);
	}
}
